<?php
namespace Register\model;

class ParticipantPhone
{
   public $ID;
   public $PHONE;
   /*update data*/
 /*  public $INSERT_USER_ID;
   public $UPDATE_USER_ID;
   public $INSERT_DATETIME;
   public $UPDATE_DATETIME;
   public $STATUS;
  */ 
   
   public function exchangeArray($data)
   {
       $this->ID=(!empty($data['ID'])) ? $data['ID'] : null;
       $this->PHONE=(!empty($data['PHONE'])) ? $data['PHONE'] : null;
       
 /*    $this->INSERT_USER_ID=(!empty($data['INSERT_USER_ID'])) ? $data['INSERT_USER_ID'] : null;
       $this->UPDATE_USER_ID=(!empty($data['UPDATE_USER_ID'])) ? $data['UPDATE_USER_ID'] : null;
       $this->INSERT_DATETIME=(!empty($data['INSERT_DATETIME'])) ? $data['INSERT_DATETIME'] : null;
       $this->UPDATE_DATETIME=(!empty($data['UPDATE_DATETIME'])) ? $data['UPDATE_DATETIME'] : null;
       $this->STATUS=(!empty($data['STATUS'])) ? $data['STATUS'] : 1; //active=1 // inactive=0
  */     
   }
   
   public function getArrayCopy()
   {
       return get_object_vars($this);
   }
}

?>